package com.ledict.casefiling.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class SysPermission implements Serializable {
    private long pid;
    private String name;
    private String resourceType;//资源类型，[menu|button]
    private String url;//资源路径.
    private String permission; //权限字符串,menu例子：role:*，button例子：role:create,role:update,role:delete,role:view
    private Long parentId;
    private String parentIds;
    private Boolean available = Boolean.FALSE;
    private List<SysRole> roles;
}
